package com.xinghai.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xinghai.common.annotation.Excel;
import com.xinghai.common.core.domain.BaseEntity;

/**
 * 商品对象 js_good
 * 
 * @author xinghai
 * @date 2024-08-31
 */
public class JsGood extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private int cid;
    private int brand_id;
    private int bank_id;
    private String keywords;
    private int bank_nums;
    private int page;
    /** 唯一主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图片url */
    @Excel(name = "图片url")
    private String imgUrl;

    /** 品牌id */
    @Excel(name = "品牌id")
    private String brandId;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 银行id */
    @Excel(name = "银行id")
    private String bankId;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 分类 */
    @Excel(name = "分类")
    private String classification;

    /** 需要卡数量 */
    @Excel(name = "需要卡数量")
    private Integer needCardNum;

    /** 是否有货 */
    @Excel(name = "是否有货")
    private String stockStatus;

    /** 详情 */
    @Excel(name = "详情")
    private String content;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 状态（0显示 1隐藏） */
    @Excel(name = "状态", readConverterExp = "0=显示,1=隐藏")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setBrandId(String brandId)
    {
        this.brandId = brandId;
    }

    public String getBrandId()
    {
        return brandId;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }
    public void setClassification(String classification) 
    {
        this.classification = classification;
    }

    public String getClassification() 
    {
        return classification;
    }
    public void setNeedCardNum(Integer needCardNum) 
    {
        this.needCardNum = needCardNum;
    }

    public Integer getNeedCardNum() 
    {
        return needCardNum;
    }
    public void setStockStatus(String stockStatus) 
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus() 
    {
        return stockStatus;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getBrand_id() {
        return brand_id;
    }

    public void setBrand_id(int brand_id) {
        this.brand_id = brand_id;
    }

    public int getBank_id() {
        return bank_id;
    }

    public void setBank_id(int bank_id) {
        this.bank_id = bank_id;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public int getBank_nums() {
        return bank_nums;
    }

    public void setBank_nums(int bank_nums) {
        this.bank_nums = bank_nums;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("imgUrl", getImgUrl())
            .append("brandId", getBrandId())
            .append("brandName", getBrandName())
            .append("classification", getClassification())
            .append("needCardNum", getNeedCardNum())
            .append("stockStatus", getStockStatus())
            .append("content", getContent())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
